package com.microframework.boot.datarule.model.response;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.microframework.boot.datarule.model.domain.Rule;
import com.microframework.boot.datarule.model.domain.RuleCol;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class RuleDTO {

	@Schema(description = "规则")
	Rule rule;
	
	@Schema(description = "列字段")
	List<RuleCol> fields;
}
